package com.atwei.mango.business.hello.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author liuwei
 * @date 2021/10/16 20:35
 */
@Data
@TableName("hello")
public class Hello {
    @TableId(value = "id",type = IdType.AUTO )
    private Long id;
    @TableField("hello")
    private String hello;
    @TableField(value = "create_time",fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    @TableField(value = "update_time",fill = FieldFill.UPDATE)
    private LocalDateTime updateTime;
}
